<?php defined('SYSPATH') OR die('No direct script access.');

class Database_Query_Builder_Insert extends Kohana_Database_Query_Builder_Insert {

	public function reset($condition = NULL)
	{
		(empty($condition) || $condition == 'table') && $this->_table = NULL;

		(empty($condition) || $condition == 'columns') && $this->_columns = array();
		(empty($condition) || $condition == 'values') && $this->_values  = array();

		empty($condition) && $this->_parameters = array();

		empty($condition) && $this->_sql = NULL;

		return $this;
	}

}
